package com.morizhang.usersys.api.dao;

import com.morizhang.usersys.api.model.UserModel;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface BasicUserInfoDao {
    public void addNewUser(UserModel newUser);
    public UserModel selectUserByUserID(String userID);
    public UserModel selectUserByUserName(String userName);
    public void updateUserByUserID(UserModel user);
    public void deleteUser(String userID);
    public int checkUser(UserModel user);
}
